package com.lnking.lnkingplace.model.entity;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="IsolationPlace对象", description="")
public class IsolationPlace extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场所名称")
    private String placeName;

    @ApiModelProperty(value = "联系人")
    private String linkman;

    @ApiModelProperty(value = "联系人电话")
    private String linkmanPhone;

    @ApiModelProperty(value = "场所地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private Float longitude;

    @ApiModelProperty(value = "纬度")
    private Float latitude;

    @ApiModelProperty(value = "删除标记")
    @JsonIgnore
    private Boolean delFlag;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "街道")
    private String street;

    @ApiModelProperty(value = "是否启用")
    private String enableStatus;
}
